package com.lzl.dubboprovider.service;

import com.lzl.doublecommon.service.TestService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author:l
 * @Date:2022.03.01
 */
@DubboService(interfaceClass = TestService.class)
@Service
public class TestServiceImpl implements TestService {
    @Override
    public String test() {
        return "test";
    }

    @Override
    public String login(String username, String password) {
        return "success"+username;
    }
}
